<template>
  <van-tabbar v-model="active">
      <van-tabbar-item to="/home" icon="home-o">首页</van-tabbar-item>
      <van-tabbar-item to="/userview" icon="search">交易</van-tabbar-item>
      <van-tabbar-item to="/shop" icon="shop">购物车</van-tabbar-item>
      <van-tabbar-item to="/center" icon="friends-o">个人中心</van-tabbar-item>
    </van-tabbar>
</template>

<script>
export default {
    props: {'active': Number},
    data(){
        return{}
    }
}
</script>

<style>

</style>